package com.example.server.service.Impl;

import com.example.entity.Village;
import com.example.server.dao.VillageMapper;
import com.example.server.service.VillageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VillageServiceImpl implements VillageService {
    @Autowired
    VillageMapper villageMapper;
    /**
     * 小区信息全查
     * @return
     */
    @Override
    public List<Village> getVillage() {
        return villageMapper.getVillage();
    }
}
